package com.example.dao;

import com.example.entity.User;

import java.util.List;

/**
 * @Author: wyp
 * @Date: 2021/9/2 13:53
 */
public interface UserDao {
    public boolean add(User user);

    public boolean update(User user);

    public boolean remove(User user);

    public int selectCount();

    public User selectUser(Integer id);

    public List<User> selectList();

    public int batchAdd(List<Object[]> userList);

    public int batchUpdate(List<Object[]> userList);

    public int batchRemove(List<Object[]> userList);
}
